/*
 * Author: 李波（Edwin Lee)
 * Date: 2024-06-19 17:59:08
 * FilePath: /chat/include/server/friendmodel.h
 * LastEditTime: 2024-06-20 23:21:01
 * version: 1.0
 * Description: 维护好友信息的操作接口方法
 */

#ifndef FRIENDMODEL_H
#define FRIENDMODEL_H
#include "user.hpp"
#include <vector>
using namespace std;
class FriendModel
{
public:
    //description: 添加好友关系
    //param userid: 用户id
    //param friendid: 好友id
    //return {void}
    //Date: 2024-06-19 19:31:52
    void insert(int userid, int friendid);

    vector<User> query(int userid);
};

#endif